<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
<head>
	<title>Movistar Video - Clasificatorias Brasil 2014</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

	<meta property="og:title" content='Movistar Video - Clasificatorias Brasil 2014'/>
    <meta property="og:type" content="website"/>
   	<meta property="og:description" content="Simulador - ¿Quiénes clasificarán?" />
   	<meta property="og:image" content="http://www.terra.com.pe/addon/img/d66aacclasificatoriasmundialesp.jpg"/>

	<meta property="fb:admins" content="1640032884" /> 	
	
   	 <meta name="title" content="Movistar Video - Clasificatorias Brasil 2014" />
	<meta name="description" content="Simulador - ¿Quiénes clasificarán?" />

   	 
   	 
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
	<script type="text/javascript" src="js/jquery.tablesorter.js"></script>
	<script type="text/javascript" src="js/jquery.filter_input.js"></script>
	<script src="js/jquery.blockUI.js" type="text/javascript" charset="UTF-8"></script>
	
	<script src="js/constantes.js" type="text/javascript"></script>
	<script src="getdata.js" type="text/javascript" charset="UTF-8"></script> <!-- get data -->
	<script src="js/cufon-yui.js" type="text/javascript"></script>
	<script src="js/Movistar_Headline_400.font.js" type="text/javascript"></script>
	<script src="js/replace.js" type="text/javascript"></script>
	<link rel="stylesheet" type="text/css" href="css/screen.css" media="screen, projection" />
	<link href="css/ui.core.css" media="screen" rel="stylesheet" type="text/css" />
	<link href="css/redmond/jquery-ui-1.8.19.custom.css" media="screen" rel="stylesheet" type="text/css" />
	<script src="js/funciones.js" type="text/javascript"></script>
	<script type="text/javascript">
		$(document).ready(function(){

			
			$('.number').filter_input({regex:'[0-9]'});  //Solo numeros
			$(".losclasificados").hide();
			$(".losclasificados2").hide();			
			//$(".number").attr("value","0"); //comentar al pasar a prod.
			
			$(".btn-resetear").click(function(){
				window.location.reload(true);
				return false;
			});
			


			 $(".btn-simular").click(function(e){
			 		var validainput=0;			 		
			 		var conta=0;
			 		
					
			 		$(':input[type=text]').each(function() {
				 		if($(this).attr("value")!=""){ conta++; }
					});
					
					
							
					var modulo=(conta % 2);

					if(modulo!=0)
					{
						alert('El ingreso de resultados es por partido. Gracias.');
					    $(':input[type=text]')[conta].focus();
					    $(':input[type=text]')[conta].classList.add("warning");
					     validainput=0;
					      return false;
					}
					else
					{
							$(':input[type=text]').removeClass('warning');
					         validainput=1;
					}		


			 		if(validainput==1)
					{
							$.blockUI();
							
							$("#dos-cla1").attr("class","dos-clasificado1"); //Coloca el nombre de clase original a la tabla de clasificatorias para que se ordene de acuerdo a la clasificación simulada.
							$("#dos-cla2").attr("class","dos-clasificado2"); //Coloca el nombre de clase original a la tabla de clasificatorias para que se ordene de acuerdo a la clasificación simulada.
							$("#dos-cla3").attr("class","dos-clasificado3"); //Coloca el nombre de clase original a la tabla de clasificatorias para que se ordene de acuerdo a la clasificación simulada.
							$("#dos-cla4").attr("class","dos-clasificado4"); //Coloca el nombre de clase original a la tabla de clasificatorias para que se ordene de acuerdo a la clasificación simulada.
							$("#dos-cla5").attr("class","dos-clasificado5"); //Coloca el nombre de clase original a la tabla de clasificatorias para que se ordene de acuerdo a la clasificación simulada.
							
							
							var tabla=calcula(18);  //Se migro a una version donde no es necesario el parametro, esta sujeto a las fechas que se encuentran con datos.						
							 $('.body-table').replaceWith(tabla);
						 
						 	$(".tablesorter").trigger("update");
						  		var sorting = [[8,1],[4,1],[2,1]]; //Ordena por puntaje, diferencia de goles, finalmente por goles en contra.
	           					// sort on the eight column 
	            			
	            			$(".tablesorter").trigger("sorton",[sorting]);
	            			
	            			$(".tablesorter").data("tablesorter").widgets = ["pintaclasificatorias"];     	 //Pinta de colores los 5 clasificados

	            		    		             	            		            		      		            	
	            		    $(".tablesorter").bind("sortStart",function() 
	            			{
	            				$(this).data("tablesorter").widgets = ["borraclasificatorias"]; //Cuando ordeno por criterio quita los colores a los 5 clasificados por default Zebra
	            					            				
	            			}); 
	            				
	            			$('.tablesorter th').click(function() {
     								alternartabla();					//Se llama a función que alterna nombres a la tabla clasificatorias.		
							});  
	            				      		
	            			$(".tablesorter").bind("sortEnd",function() 
	            			{ 	          					
		        					var customerId;
		        					var nombreimg;
		        						
								
			        					$('.tablesorter tr').each(function(index) {
										  // need this to skip the first row
											  if ($(this).find("td:first").length > 0) {
											    customerId = $(this).find("td:first").html();
											    if(customerId=="Perú"){ nombreimg="Peru"; }else{ nombreimg=customerId; }										    
											    if(index<6)
												 {														 	
												 	$(".dos-clasificado"+index).html("<img src='img/flag-"+nombreimg.toLowerCase()+".gif' alt="+customerId+" title='"+customerId+"'  /> ("+index+") "+customerId).slideDown("slow");
												 	$("#tbl-prod").attr("title","Tabla de Posiciones (Simulada)");
												 }
											  }
										});
									 											
				        				$(".losclasificados").hide();
				        				$(".losclasificados2").show();			        				        						      		
			        					setTimeout($.unblockUI, 1000);			        				             						
	    				});
				}
			});

		});
	</script>
	<script type="text/javascript">
	$(function()
			{
				$('.tablesorter').tablesorter({
					sortList: [[8,1],[4,1],[2,1]], 
					locale: 'de', 
					useUI: true
				});				
	});
	</script>
	
</head>
<body>
<div style="width:968px;margin: 0 auto 0 11px;">	
	<div id="screen">
	

	<table id="div-barra">
						<tr>
							<td class="titulo">
								<h2 class="cufoneando">Simulador</h2>
								<p class="cufoneando" style="margin:0px;padding:0px;">Quién clasificaría si... </p>
							</td>
							<td class="sponsor" style="vertical-align:bottom;">
								<img src="img/148x34-powered-by-terra.gif" alt="Powered by Terra" title="Powered by Terra" />
							</td>	
						</tr>		
	</table>
<div style="clear:both;">&nbsp;</div>
						
	
<div class="caja-aviso">
			<p class="aviso">
			<span class="pregunta">¿Qué selecciones clasificarán al Mundial Brasil 2014?</span><br/>
			Completa los resultados de las fechas restantes del proceso de Clasificatorias a Brasil y presiona <strong>"SIMULAR"</strong> para conocer qué selecciones clasificarían al Mundial y cómo quedaría la tabla final según tu pronóstico. Modifícalo y vuelve a <strong style="text-transform:none;">simular las veces que quieras!</strong>
			</p>
</div>


	
<div id="ladoA" style="display:none;">	
<p class="cufoneando simulador">PRIMERA RUEDA</p>	
<ul>
	<li>
		<table class="fecha-fifa">
			<tr class="titulo-fecha">
				<td colspan="3"><span class="fec">Fecha 1</span><br/><span class="date">07.10.2011</span></td>
			</tr>
			<tr class="header">
				<td>L</td>
				<td>Marcador</td>
				<td>V</td>
			</tr>
			<tr class="impar">
				<td><img src="img/flag-uruguay.gif" alt="uruguay" title="uruguay"  /></td>
				<td class="partido1">
						<input type="text" class="number" size="2" maxlength="2" name ="uruguay" id="fec1uru">
 						- 
						<input type="text" class="number" size="2" maxlength="2" name="bolivia" id="fec1bol">
				</td>
				<td><img src="img/flag-bolivia.gif" alt="Bolivia" title="Bolivia"  /></td>
			</tr>
			<tr class="par">
				<td><img src="img/flag-peru.gif" alt="Perú" title="Perú"  /></td>
				<td class="partido2">
					<input type="text" class="number" size="2" maxlength="2" name ="peru" id="fec1per">
					 - 
					<input type="text" class="number" size="2" maxlength="2" name="paraguay" id="fec1par">
				</td>
				<td><img src="img/flag-paraguay.gif" alt="Paraguay" title="Paraguay"  /></td>
			</tr>		
			<tr class="impar">
				<td><img src="img/flag-argentina.gif" alt="Argentina" title="Argentina"  /></td>
				<td class="partido3">
					<input type="text" class="number" size="2" maxlength="2" name ="argentina" id="fec1arg">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="chile" id="fec1chi">
				</td>
				<td><img src="img/flag-chile.gif" alt="Chile" title="Chile"  /></td>
			</tr>		
			<tr class="par">
				<td><img src="img/flag-ecuador.gif" alt="Ecuador" title="Ecuador"  /></td>
				<td class="partido4">
					<input type="text" class="number" size="2" maxlength="2" name ="ecuador" id="fec1ecu">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="venezuela" id="fec1ven">
				</td>
				<td><img src="img/flag-venezuela.gif" alt="Venezuela" title="Venezuela"  /></td>
			</tr>			
		</table>
	</li>
	<li>
		<table class="fecha-fifa">
			<tr class="titulo-fecha">
				<td colspan="3"><span class="fec">Fecha 2</span><br/><span class="date">11.10.2011</span></td>
			</tr>
			<tr class="header">
				<td>L</td>
				<td>Marcador</td>
				<td>V</td>
			</tr>
			<tr class="impar">
				<td><img src="img/flag-venezuela.gif" alt="Venezuela" title="Venezuela"  /></td>
				<td class="partido5">
					<input type="text" class="number" size="2" maxlength="2" name ="venezuela" id="fec2ven">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="argentina" id="fec2arg">
				</td>
				<td><img src="img/flag-argentina.gif" alt="Argentina" title="Argentina"  /></td>
			</tr>
			<tr class="par">
				<td><img src="img/flag-paraguay.gif" alt="Paraguay" title="Paraguay"  /></td>
				<td class="partido6">
					<input type="text" class="number" size="2" maxlength="2" name ="paraguay" id="fec2par">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="uruguay" id="fec2uru">
				</td>
				<td><img src="img/flag-uruguay.gif" alt="uruguay" title="uruguay"  /></td>
			</tr>		
			<tr class="impar">
				<td><img src="img/flag-chile.gif" alt="Chile" title="Chile"  /></td>
				<td class="partido7">
					<input type="text" class="number" size="2" maxlength="2" name ="chile" id="fec2chi">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="peru" id="fec2per">
				</td>
				<td><img src="img/flag-peru.gif" alt="Perú" title="Perú"  /></td>
			</tr>		
			<tr class="par">
				<td><img src="img/flag-bolivia.gif" alt="Bolivia" title="Bolivia"  /></td>
				<td class="partido8">
					<input type="text" class="number" size="2" maxlength="2" name ="bolivia" id="fec2bol">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="colombia" id="fec2col">
				</td>
				<td><img src="img/flag-colombia.gif" alt="Colombia" title="Colombia"  /></td>
			</tr>			
		</table>
	</li>
	<li>
		<table class="fecha-fifa">
			<tr class="titulo-fecha">
				<td colspan="3"><span class="fec">Fecha 3</span><br/><span class="date">11.11.2011</span></td>
			</tr>
			<tr class="header">
				<td>L</td>
				<td>Marcador</td>
				<td>V</td>
			</tr>
			<tr class="impar">
				<td><img src="img/flag-argentina.gif" alt="Argentina" title="Argentina"  /></td>
				<td class="partido9">
					<input type="text" class="number" size="2" maxlength="2" name ="argentina" id="fec3arg">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="bolivia" id="fec3bol">
				</td>
				<td><img src="img/flag-bolivia.gif" alt="Bolivia" title="Bolivia"  /></td>
			</tr>
			<tr class="par">
				<td><img src="img/flag-uruguay.gif" alt="uruguay" title="uruguay"  /></td>
				<td class="partido10">
						<input type="text" class="number" size="2" maxlength="2" name ="uruguay" id="fec3uru">
						 - 
						<input type="text" class="number" size="2" maxlength="2" name="chile" id="fec3chi">
				</td>
				<td><img src="img/flag-chile.gif" alt="Chile" title="Chile"  /></td>
			</tr>		
			<tr class="impar">
				<td><img src="img/flag-paraguay.gif" alt="Paraguay" title="Paraguay"  /></td>
				<td class="partido11">
					<input type="text" class="number" size="2" maxlength="2" name ="paraguay" id="fec3par">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="ecuador" id="fec3ecu">
				</td>
				<td><img src="img/flag-ecuador.gif" alt="Ecuador" title="Ecuador"  /></td>
			</tr>		
			<tr class="par">
				<td><img src="img/flag-colombia.gif" alt="Colombia" title="Colombia"  /></td>
				<td class="partido12">
					<input type="text" class="number" size="2" maxlength="2" name ="colombia" id="fec3col">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="venezuela" id="fec3ven">
				</td>
				<td><img src="img/flag-venezuela.gif" alt="Venezuela" title="Venezuela"  /></td>
			</tr>			
		</table>
	</li>
	<li>
		<table class="fecha-fifa">
			<tr class="titulo-fecha">
				<td colspan="3"><span class="fec">Fecha 4</span><br/><span class="date">15.11.2011</span></td>
			</tr>
			<tr class="header">
				<td>L</td>
				<td>Marcador</td>
				<td>V</td>
			</tr>
			<tr class="impar">
				<td><img src="img/flag-ecuador.gif" alt="Ecuador" title="Ecuador"  /></td>
				<td class="partido13">
					<input type="text" class="number" size="2" maxlength="2" name ="ecuador" id="fec4ecu">
					 - 
					<input type="text" class="number" size="2" maxlength="2" name="peru" id="fec4per">
				</td>
				<td><img src="img/flag-peru.gif" alt="Perú" title="Perú"  /></td>
			</tr>
			<tr class="par">
				<td><img src="img/flag-colombia.gif" alt="Colombia" title="Colombia"  /></td>
				<td class="partido14">
					<input type="text" class="number" size="2" maxlength="2" name ="colombia" id="fec4col">
					 - 
					<input type="text" class="number" size="2" maxlength="2" name="argentina" id="fec4arg">
				</td>
				<td><img src="img/flag-argentina.gif" alt="Argentina" title="Argentina"  /></td>
			</tr>		
			<tr class="impar">
				<td><img src="img/flag-chile.gif" alt="Chile" title="Chile"  /></td>
				<td class="partido15">
					<input type="text" class="number" size="2" maxlength="2" name ="chile" id="fec4chi">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="paraguay" id="fec4par">
				</td>
				<td><img src="img/flag-paraguay.gif" alt="Paraguay" title="Paraguay"  /></td>
			</tr>		
			<tr class="par">
				<td><img src="img/flag-venezuela.gif" alt="Venezuela" title="Venezuela"  /></td>
				<td class="partido16">
					<input type="text" class="number" size="2" maxlength="2" name ="venezuela" id="fec4ven">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="bolivia" id="fec4bol">
				</td>
				<td><img src="img/flag-bolivia.gif" alt="Bolivia" title="Bolivia"  /></td>
			</tr>			
		</table>
	</li>
	<li>
		<table class="fecha-fifa">
			<tr class="titulo-fecha">
				<td colspan="3"><span class="fec">Fecha 5</span><br/><span class="date">02 / 03.06.2012</span></td>
			</tr>
			<tr class="header">
				<td>L</td>
				<td>Marcador</td>
				<td>V</td>
			</tr>
			<tr class="impar">
				<td><img src="img/flag-bolivia.gif" alt="Bolivia" title="Bolivia"  /></td>
				<td class="partido17">
					<input type="text" class="number" size="2" maxlength="2" name ="bolivia" id="fec5bol">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="chile" id="fec5chi">
				</td>
				<td><img src="img/flag-chile.gif" alt="Chile" title="Chile"  /></td>
			</tr>
			<tr class="par">
				<td><img src="img/flag-uruguay.gif" alt="uruguay" title="uruguay"  /></td>
				<td class="partido18">
					<input type="text" class="number" size="2" maxlength="2" name ="uruguay" id="fec5uru">
					 - 
					<input type="text" class="number" size="2" maxlength="2" name ="venezuela" id="fec5ven">
				</td>
				<td><img src="img/flag-venezuela.gif" alt="Venezuela" title="Venezuela"  /></td>
			</tr>		
			<tr class="impar">
				<td><img src="img/flag-argentina.gif" alt="Argentina" title="Argentina"  /></td>
				<td class="partido19">
					<input type="text" class="number" size="2" maxlength="2" name ="argentina" id="fec5arg">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="ecuador" id="fec5ecu">
				</td>
				<td><img src="img/flag-ecuador.gif" alt="Ecuador" title="Ecuador"  /></td>
			</tr>		
			<tr class="par">
				<td><img src="img/flag-peru.gif" alt="Perú" title="Perú"  /></td>
				<td class="partido20">
					<input type="text" class="number" size="2" maxlength="2" name ="peru" id="fec5per">
					 - 
					<input type="text" class="number" size="2" maxlength="2" name ="colombia" id="fec5col">
				</td>
				<td><img src="img/flag-colombia.gif" alt="Colombia" title="Colombia"  /></td>
			</tr>			
		</table>
	</li>
	<li>
		<table class="fecha-fifa">
			<tr class="titulo-fecha">
				<td colspan="3"><span class="fec">Fecha 6</span><br/><span class="date">09 / 10.06.2012</span></td>
			</tr>
			<tr class="header">
				<td>L</td>
				<td>Marcador</td>
				<td>V</td>
			</tr>
			<tr class="impar">
				<td><img src="img/flag-ecuador.gif" alt="Ecuador" title="Ecuador"  /></td>
				<td class="partido21">
					<input type="text" class="number" size="2" maxlength="2" name ="ecuador" id="fec6ecu">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="colombia" id="fec6col">
				</td>
				<td><img src="img/flag-colombia.gif" alt="Colombia" title="Colombia"  /></td>
			</tr>
			<tr class="par">
				<td><img src="img/flag-uruguay.gif" alt="uruguay" title="uruguay"  /></td>
				<td class="partido22">
					<input type="text" class="number" size="2" maxlength="2" name ="uruguay" id="fec6uru">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="peru" id="fec6per">
				</td>
				<td><img src="img/flag-peru.gif" alt="Perú" title="Perú"  /></td>
			</tr>		
			<tr class="impar">
				<td><img src="img/flag-venezuela.gif" alt="Venezuela" title="Venezuela"  /></td>
				<td class="partido23">
					<input type="text" class="number" size="2" maxlength="2" name ="venezuela" id="fec6ven">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="chile" id="fec6chi">
				</td>
				<td><img src="img/flag-chile.gif" alt="Chile" title="Chile"  /></td>
			</tr>		
			<tr class="par">
				<td><img src="img/flag-bolivia.gif" alt="Bolivia" title="Bolivia"  /></td>
				<td class="partido24">
					<input type="text" class="number" size="2" maxlength="2" name ="bolivia" id="fec6bol">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="paraguay" id="fec6par">
				</td>
				<td><img src="img/flag-paraguay.gif" alt="Paraguay" title="Paraguay"  /></td>
			</tr>			
		</table>
	</li>
	<li>
		<table class="fecha-fifa">
			<tr class="titulo-fecha">
				<td colspan="3"><span class="fec">Fecha 7</span><br/><span class="date">07.09.2012</span></td>
			</tr>
			<tr class="header">
				<td>L</td>
				<td>Marcador</td>
				<td>V</td>
			</tr>
			<tr class="impar">
				<td><img src="img/flag-ecuador.gif" alt="Ecuador" title="Ecuador"  /></td>
				<td class="partido25">
					<input type="text" class="number" size="2" maxlength="2" name ="ecuador" id="fec7ecu">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="bolivia" id="fec7bol">
				</td>
				<td><img src="img/flag-bolivia.gif" alt="Bolivia" title="Bolivia"  /></td>
			</tr>
			<tr class="par">
				<td><img src="img/flag-argentina.gif" alt="Argentina" title="Argentina"  /></td>
				<td class="partido26">
					<input type="text" class="number" size="2" maxlength="2" name ="argentina" id="fec7arg">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="paraguay" id="fec7par">
				</td>
				<td><img src="img/flag-paraguay.gif" alt="Paraguay" title="Paraguay"  /></td>
			</tr>		
			<tr class="impar">
				<td><img src="img/flag-colombia.gif" alt="Colombia" title="Colombia"  /></td>
				<td class="partido27">
					<input type="text" class="number" size="2" maxlength="2" name ="colombia" id="fec7col">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="uruguay" id="fec7uru">
				</td>
				<td><img src="img/flag-uruguay.gif" alt="uruguay" title="uruguay"  /></td>
			</tr>		
			<tr class="par">
				<td><img src="img/flag-peru.gif" alt="Perú" title="Perú"  /></td>
				<td class="partido28">
					<input type="text" class="number" size="2" maxlength="2" name ="peru" id="fec7per">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="venezuela" id="fec7ven">
				</td>
				<td><img src="img/flag-venezuela.gif" alt="Venezuela" title="Venezuela"  /></td>
			</tr>			
		</table>
	</li>
	<li>
		<table class="fecha-fifa">
			<tr class="titulo-fecha">
				<td colspan="3"><span class="fec">Fecha 8</span><br/><span class="date">11.09.2012</span></td>
			</tr>
			<tr class="header">
				<td>L</td>
				<td>Marcador</td>
				<td>V</td>
			</tr>
			<tr class="impar">
				<td><img src="img/flag-chile.gif" alt="Chile" title="Chile"  /></td>
				<td class="partido29">
					<input type="text" class="number" size="2" maxlength="2" name ="chile" id="fec8chi">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="colombia" id="fec8col">
				</td>
				<td><img src="img/flag-colombia.gif" alt="Colombia" title="Colombia"  /></td>
			</tr>
			<tr class="par">
				<td><img src="img/flag-peru.gif" alt="Perú" title="Perú"  /></td>
				<td class="partido30">
					<input type="text" class="number" size="2" maxlength="2" name ="peru" id="fec8per">
					-
					<input type="text" class="number" size="2" maxlength="2" name ="argentina" id="fec8arg">
				</td>
				<td><img src="img/flag-argentina.gif" alt="Argentina" title="Argentina"  /></td>
			</tr>		
			<tr class="impar">
				<td><img src="img/flag-uruguay.gif" alt="uruguay" title="uruguay"  /></td>
				<td class="partido31">
					<input type="text" class="number" size="2" maxlength="2" name ="uruguay" id="fec8uru">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="ecuador" id="fec8ecu">
				</td>
				<td><img src="img/flag-ecuador.gif" alt="Ecuador" title="Ecuador"  /></td>
			</tr>		
			<tr class="par">
				<td><img src="img/flag-paraguay.gif" alt="Paraguay" title="Paraguay"  /></td>
				<td class="partido32">
					<input type="text" class="number" size="2" maxlength="2" name ="paraguay" id="fec8par">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="venezuela" id="fec8ven">
				</td>
				<td><img src="img/flag-venezuela.gif" alt="Venezuela" title="Venezuela"  /></td>
			</tr>			
		</table>
	</li>
	<li>
		<table class="fecha-fifa">
			<tr class="titulo-fecha">
				<td colspan="3"><span class="fec">Fecha 9</span><br/><span class="date">12.10.2012</span></td>
			</tr>
			<tr class="header">
				<td>L</td>
				<td>Marcador</td>
				<td>V</td>
			</tr>
			<tr class="impar">
				<td><img src="img/flag-ecuador.gif" alt="Ecuador" title="Ecuador"  /></td>
				<td class="partido33">
					<input type="text" class="number" size="2" maxlength="2" name ="ecuador" id="fec9ecu">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="chile" id="fec9chi">
				</td>
				<td><img src="img/flag-chile.gif" alt="Chile" title="Chile"  /></td>
			</tr>
			<tr class="par">
				<td><img src="img/flag-bolivia.gif" alt="Bolivia" title="Bolivia"  /></td>
				<td class="partido34">
					<input type="text" class="number" size="2" maxlength="2" name ="bolivia" id="fec9bol">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="peru" id="fec9per">
				</td>
				<td><img src="img/flag-peru.gif" alt="Perú" title="Perú"  /></td>
			</tr>		
			<tr class="impar">
				<td><img src="img/flag-argentina.gif" alt="Argentina" title="Argentina"  /></td>
				<td class="partido35">
					<input type="text" class="number" size="2" maxlength="2" name ="argentina" id="fec9arg">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="uruguay" id="fec9uru">
				</td>
				<td><img src="img/flag-uruguay.gif" alt="uruguay" title="uruguay"  /></td>
			</tr>		
			<tr class="par">
				<td><img src="img/flag-colombia.gif" alt="Colombia" title="Colombia"  /></td>
				<td class="partido36">
					<input type="text" class="number" size="2" maxlength="2" name ="colombia" id="fec9col">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="paraguay" id="fec9par">
				</td>
				<td><img src="img/flag-paraguay.gif" alt="Paraguay" title="Paraguay"  /></td>
			</tr>			
		</table>
	</li>
	<li>&nbsp;</li>
</ul>
<div style="clear:both;height:1px;">&nbsp;</div>
<p class="cufoneando simulador" style="margin-top:25px;">SEGUNDA RUEDA</p>	
<ul>
	<li>
		<table class="fecha-fifa">
			<tr class="titulo-fecha">
				<td colspan="3"><span class="fec">Fecha 10</span><br/><span class="date">16.10.2012</span></td>
			</tr>
			<tr class="header">
				<td>L</td>
				<td>Marcador</td>
				<td>V</td>
			</tr>
			<tr class="impar">
				<td><img src="img/flag-venezuela.gif" alt="Venezuela" title="Venezuela"  /></td>
				<td class="partido37">
					<input type="text" class="number" size="2" maxlength="2" name ="venezuela" id="fec10ven">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="ecuador" id="fec10ecu">
				</td>
				<td><img src="img/flag-ecuador.gif" alt="Ecuador" title="Ecuador"  /></td>
			</tr>
			<tr class="par">
				<td><img src="img/flag-paraguay.gif" alt="Paraguay" title="Paraguay"  /></td>
				<td class="partido38">
					<input type="text" class="number" size="2" maxlength="2" name ="paraguay" id="fec10par">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="peru" id="fec10per">
				</td>
				<td><img src="img/flag-peru.gif" alt="Perú" title="Perú"  /></td>
			</tr>		
			<tr class="impar">
				<td><img src="img/flag-chile.gif" alt="Chile" title="Chile"  /></td>
				<td class="partido39">
					<input type="text" class="number" size="2" maxlength="2" name ="chile" id="fec10chi">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="argentina" id="fec10arg">
				</td>
				<td><img src="img/flag-argentina.gif" alt="Argentina" title="Argentina"  /></td>
			</tr>		
			<tr class="par">
				<td><img src="img/flag-bolivia.gif" alt="Bolivia" title="Bolivia"  /></td>
				<td class="partido40">
					<input type="text" class="number" size="2" maxlength="2" name ="bolivia" id="fec10bol">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="uruguay" id="fec10uru">
				</td>
				<td><img src="img/flag-uruguay.gif" alt="uruguay" title="uruguay"  /></td>
			</tr>			
		</table>
	</li>
	<li>
		<table class="fecha-fifa">
			<tr class="titulo-fecha">
				<td colspan="3"><span class="fec">Fecha 11</span><br/><span class="date">22.03.2013</span></td>
			</tr>
			<tr class="header">
				<td>L</td>
				<td>Marcador</td>
				<td>V</td>
			</tr>
			<tr class="impar">
				<td><img src="img/flag-argentina.gif" alt="Argentina" title="Argentina"  /></td>
				<td class="partido41">
					<input type="text" class="number" size="2" maxlength="2" name ="argentina" id="fec11arg" />
					- 
					<input type="text" class="number" size="2" maxlength="2" name="venezuela" id="fec11ven" />
				</td>
				<td><img src="img/flag-venezuela.gif" alt="Venezuela" title="Venezuela"  /></td>
			</tr>
			<tr class="par">
				<td><img src="img/flag-colombia.gif" alt="Colombia" title="Colombia"  /></td>
				<td class="partido42">
					<input type="text" class="number" size="2" maxlength="2" name ="colombia" id="fec11col">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="bolivia" id="fec11bol">
				</td>
				<td><img src="img/flag-bolivia.gif" alt="Bolivia" title="Bolivia"  /></td>
			</tr>		
			<tr class="impar">
				<td><img src="img/flag-peru.gif" alt="Perú" title="Perú"  /></td>
				<td class="partido43">
					<input type="text" class="number" size="2" maxlength="2" name ="peru" id="fec11per">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="chile" id="fec11chi">
				</td>
				<td><img src="img/flag-chile.gif" alt="Chile" title="Chile"  /></td>
			</tr>		
			<tr class="par">
				<td><img src="img/flag-uruguay.gif" alt="uruguay" title="uruguay"  /></td>
				<td class="partido44">
					<input type="text" class="number" size="2" maxlength="2" name ="uruguay" id="fec11uru">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="paraguay" id="fec11par">
				</td>
				<td><img src="img/flag-paraguay.gif" alt="Paraguay" title="Paraguay"  /></td>
			</tr>			
		</table>
	</li>
	<li>
		<table class="fecha-fifa">
			<tr class="titulo-fecha">
				<td colspan="3"><span class="fec">Fecha 12</span><br/><span class="date">26.03.2013</span></td>
			</tr>
			<tr class="header">
				<td>L</td>
				<td>Marcador</td>
				<td>V</td>
			</tr>
			<tr class="impar">
				<td><img src="img/flag-ecuador.gif" alt="Ecuador" title="Ecuador"  /></td>
				<td class="partido45">
					<input type="text" class="number" size="2" maxlength="2" name ="ecuador" id="fec12ecu">
					 - 
					<input type="text" class="number" size="2" maxlength="2" name="paraguay" id="fec12par">
				</td>
				<td><img src="img/flag-paraguay.gif" alt="Paraguay" title="Paraguay"  /></td>
			</tr>
			<tr class="par">
				<td><img src="img/flag-venezuela.gif" alt="Venezuela" title="Venezuela"  /></td>
				<td class="partido46">
					<input type="text" class="number" size="2" maxlength="2" name ="venezuela" id="fec12ven">
					 - 
					<input type="text" class="number" size="2" maxlength="2" name ="colombia" id="fec12col">
				</td>
				<td><img src="img/flag-colombia.gif" alt="Colombia" title="Colombia"  /></td>
			</tr>		
			<tr class="impar">
				<td><img src="img/flag-chile.gif" alt="Chile" title="Chile"  /></td>
				<td class="partido47">
					<input type="text" class="number" size="2" maxlength="2" name ="chile" id="fec12chi">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="uruguay" id="fec12uru">
				</td>
				<td><img src="img/flag-uruguay.gif" alt="uruguay" title="uruguay"  /></td>
			</tr>		
			<tr class="par">
				<td><img src="img/flag-bolivia.gif" alt="Bolivia" title="Bolivia"  /></td>
				<td class="partido48">
					<input type="text" class="number" size="2" maxlength="2" name ="bolivia" id="fec12bol">
					 - 
					<input type="text" class="number" size="2" maxlength="2" name ="argentina" id="fec12arg">
				</td>
				<td><img src="img/flag-argentina.gif" alt="Argentina" title="Argentina"  /></td>
			</tr>			
		</table>
	</li>
	<li>
		<table class="fecha-fifa">
			<tr class="titulo-fecha">
				<td colspan="3"><span class="fec">Fecha 13</span><br/><span class="date">01 / 02.06.2013</span></td>
			</tr>
			<tr class="header">
				<td>L</td>
				<td>Marcador</td>
				<td>V</td>
			</tr>
			<tr class="impar">
				<td><img src="img/flag-peru.gif" alt="Perú" title="Perú"  /></td>
				<td class="partido49">
						<input type="text" class="number" size="2" maxlength="2" name ="peru" id="fec13per">
						- 
						<input type="text" class="number" size="2" maxlength="2" name="ecuador" id="fec13ecu">
				</td>
				<td><img src="img/flag-ecuador.gif" alt="Ecuador" title="Ecuador"  /></td>
			</tr>
			<tr class="par">
				<td><img src="img/flag-paraguay.gif" alt="Paraguay" title="Paraguay"  /></td>
				<td class="partido50">
					<input type="text" class="number" size="2" maxlength="2" name ="paraguay" id="fec13par">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="chile" id="fec13chi">
				</td>
				<td><img src="img/flag-chile.gif" alt="Chile" title="Chile"  /></td>
			</tr>		
			<tr class="impar">
				<td><img src="img/flag-bolivia.gif" alt="Bolivia" title="Bolivia"  /></td>
				<td class="partido51">
					<input type="text" class="number" size="2" maxlength="2" name ="bolivia" id="fec13bol">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="venezuela" id="fec13ven">
				</td>
				<td><img src="img/flag-venezuela.gif" alt="Venezuela" title="Venezuela"  /></td>
			</tr>		
			<tr class="par">
				<td><img src="img/flag-argentina.gif" alt="Argentina" title="Argentina"  /></td>
				<td class="partido52">
						<input type="text" class="number" size="2" maxlength="2" name ="argentina" id="fec13arg">
					- 
						<input type="text" class="number" size="2" maxlength="2" name ="colombia" id="fec13col">
				</td>
				<td><img src="img/flag-colombia.gif" alt="Colombia" title="Colombia"  /></td>
			</tr>			
		</table>
	</li>
	<li>
		<table class="fecha-fifa">
			<tr class="titulo-fecha">
				<td colspan="3"><span class="fec">Fecha 14</span><br/><span class="date">08 / 09.06.2013</span></td>
			</tr> 
			<tr class="header">
				<td>L</td>
				<td>Marcador</td>
				<td>V</td>
			</tr>
			<tr class="impar">
				<td><img src="img/flag-venezuela.gif" alt="Venezuela" title="Venezuela"  /></td>
				<td class="partido53">
					<input type="text" class="number" size="2" maxlength="2" name ="venezuela" id="fec14ven">
					 - 
					<input type="text" class="number" size="2" maxlength="2" name="uruguay" id="fec14uru">
				</td>
				<td><img src="img/flag-uruguay.gif" alt="uruguay" title="uruguay"  /></td>
			</tr>
			<tr class="par">
				<td><img src="img/flag-ecuador.gif" alt="Ecuador" title="Ecuador"  /></td>
				<td class="partido54">
					<input type="text" class="number" size="2" maxlength="2" name ="ecuador" id="fec14ecu">
					 - 
					<input type="text" class="number" size="2" maxlength="2" name ="argentina" id="fec14arg">
				</td>
				<td><img src="img/flag-argentina.gif" alt="Argentina" title="Argentina"  /></td>
			</tr>		
			<tr class="impar">
				<td><img src="img/flag-chile.gif" alt="Chile" title="Chile"  /></td>
				<td class="partido55">
					<input type="text" class="number" size="2" maxlength="2" name ="chile" id="fec14chi">
					 - 
					<input type="text" class="number" size="2" maxlength="2" name ="bolivia" id="fec14bol">
				</td>
				<td><img src="img/flag-bolivia.gif" alt="Bolivia" title="Bolivia"  /></td>
			</tr>		
			<tr class="par">
				<td><img src="img/flag-colombia.gif" alt="Colombia" title="Colombia"  /></td>
				<td class="partido56">
					<input type="text" class="number" size="2" maxlength="2" name ="colombia" id="fec14col">
					 - 
					<input type="text" class="number" size="2" maxlength="2" name ="peru" id="fec14per">
				</td>
				<td><img src="img/flag-peru.gif" alt="Perú" title="Perú"  /></td>
			</tr>			
		</table>
	</li>
	<li>
		<table class="fecha-fifa">
			<tr class="titulo-fecha">
				<td colspan="3"><span class="fec">Fecha 15</span><br/><span class="date">08.09.2013</span></td>
			</tr>
			<tr class="header">
				<td>L</td>
				<td>Marcador</td>
				<td>V</td>
			</tr>
			<tr class="impar">
				<td><img src="img/flag-chile.gif" alt="Chile" title="Chile"  /></td>
				<td class="partido57">
					<input type="text" class="number" size="2" maxlength="2" name ="chile" id="fec15chi">
					 - 
					<input type="text" class="number" size="2" maxlength="2" name="venezuela" id="fec15ven">
				</td>
				<td><img src="img/flag-venezuela.gif" alt="Venezuela" title="Venezuela"  /></td>
			</tr>
			<tr class="par">
				<td><img src="img/flag-colombia.gif" alt="Colombia" title="Colombia"  /></td>
				<td class="partido58">
					<input type="text" class="number" size="2" maxlength="2" name ="colombia" id="fec15col">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="ecuador" id="fec15ecu">
				</td>
				<td><img src="img/flag-ecuador.gif" alt="Ecuador" title="Ecuador"  /></td>
			</tr>		
			<tr class="impar">
				<td><img src="img/flag-peru.gif" alt="Perú" title="Perú"  /></td>
				<td class="partido59">
					<input type="text" class="number" size="2" maxlength="2" name ="peru"id="fec15per">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="uruguay" id="fec15uru">
				</td>
				<td><img src="img/flag-uruguay.gif" alt="uruguay" title="uruguay"  /></td>
			</tr>		
			<tr class="par">
				<td><img src="img/flag-paraguay.gif" alt="Paraguay" title="Paraguay"  /></td>
				<td class="partido60">
					<input type="text" class="number" size="2" maxlength="2" name ="paraguay" id="fec15par">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="bolivia" id="fec15bol">
				</td>
				<td><img src="img/flag-bolivia.gif" alt="Bolivia" title="Bolivia"  /></td>
			</tr>			
		</table>
	</li>
	<li>
		<table class="fecha-fifa">
			<tr class="titulo-fecha">
				<td colspan="3"><span class="fec">Fecha 16</span><br/><span class="date">10.09.2013</span></td>
			</tr>
			<tr class="header">
				<td>L</td>
				<td>Marcador</td>
				<td>V</td>
			</tr>
			<tr class="impar">
				<td><img src="img/flag-venezuela.gif" alt="Venezuela" title="Venezuela"  /></td>
				<td class="partido61">
					<input type="text" class="number" size="2" maxlength="2" name ="venezuela" id="fec16ven">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="peru" id="fec16per">
				</td>
				<td><img src="img/flag-peru.gif" alt="Perú" title="Perú"  /></td>
			</tr>
			<tr class="par">
				<td><img src="img/flag-paraguay.gif" alt="Paraguay" title="Paraguay"  /></td>
				<td class="partido62">
					<input type="text" class="number" size="2" maxlength="2" name ="paraguay" id="fec16par">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="argentina" id="fec16arg">
				</td>
				<td><img src="img/flag-argentina.gif" alt="Argentina" title="Argentina"  /></td>
			</tr>		
			<tr class="impar">
				<td><img src="img/flag-uruguay.gif" alt="uruguay" title="uruguay"  /></td>
				<td class="partido63">
					<input type="text" class="number" size="2" maxlength="2" name ="uruguay" id="fec16uru">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="colombia" id="fec16col">
				</td>
				<td><img src="img/flag-colombia.gif" alt="Colombia" title="Colombia"  /></td>
			</tr>		
			<tr class="par">
				<td><img src="img/flag-bolivia.gif" alt="Bolivia" title="Bolivia"  /></td>
				<td class="partido64">
					<input type="text" class="number" size="2" maxlength="2" name ="bolivia" id="fec16bol">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="ecuador" id="fec16ecu">
				</td>
				<td><img src="img/flag-ecuador.gif" alt="Ecuador" title="Ecuador"  /></td>
			</tr>			
		</table>
	</li>
	<li>
		<table class="fecha-fifa">
			<tr class="titulo-fecha">
				<td colspan="3"><span class="fec">Fecha 17</span><br/><span class="date">11.10.2013</span></td>
			</tr>
			<tr class="header">
				<td>L</td>
				<td>Marcador</td>
				<td>V</td>
			</tr>
			<tr class="impar">
				<td><img src="img/flag-argentina.gif" alt="Argentina" title="Argentina"  /></td>
				<td class="partido65">
					<input type="text" class="number" size="2" maxlength="2" name ="argentina" id="fec17arg">
					- 
					<input type="text" class="number" size="2" maxlength="2" name="peru" id="fec17per">
				</td>
				<td><img src="img/flag-peru.gif" alt="Perú" title="Perú"  /></td>
			</tr>
			<tr class="par">
				<td><img src="img/flag-ecuador.gif" alt="Ecuador" title="Ecuador"  /></td>
				<td class="partido66">
					<input type="text" class="number" size="2" maxlength="2" name ="ecuador" id="fec17ecu">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="uruguay" id="fec17uru">
				</td>
				<td><img src="img/flag-uruguay.gif" alt="uruguay" title="uruguay"  /></td>
			</tr>		
			<tr class="impar">
				<td><img src="img/flag-colombia.gif" alt="Colombia" title="Colombia"  /></td>
				<td class="partido67">
					<input type="text" class="number" size="2" maxlength="2" name ="colombia" id="fec17col">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="chile" id="fec17chi">
				</td>
				<td><img src="img/flag-chile.gif" alt="Chile" title="Chile"  /></td>
			</tr>		
			<tr class="par">
				<td><img src="img/flag-venezuela.gif" alt="Venezuela" title="Venezuela"  /></td>
				<td class="partido68">
					<input type="text" class="number" size="2" maxlength="2" name ="venezuela" id="fec17ven">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="paraguay" id="fec17par">
				</td>
				<td><img src="img/flag-paraguay.gif" alt="Paraguay" title="Paraguay"  /></td>
			</tr>			
		</table>
	</li>
	<li>
		<table class="fecha-fifa">
			<tr class="titulo-fecha">
				<td colspan="3"><span class="fec">Fecha 18</span><br/><span class="date">15.10.2013</span></td>
			</tr>
			<tr class="header">
				<td>L</td>
				<td>Marcador</td>
				<td>V</td>
			</tr>
			<tr class="impar">
				<td><img src="img/flag-paraguay.gif" alt="Paraguay" title="Paraguay"  /></td>
				<td class="partido69">
					<input type="text" class="number" size="2" maxlength="2" name ="paraguay" id="fec18par">
					 - 
					<input type="text" class="number" size="2" maxlength="2" name="colombia" id="fec18col">
				</td>
				<td><img src="img/flag-colombia.gif" alt="Colombia" title="Colombia"  /></td>
			</tr>
			<tr class="par">
				<td><img src="img/flag-uruguay.gif" alt="uruguay" title="uruguay"  /></td>
				<td class="partido70">
					<input type="text" class="number" size="2" maxlength="2" name ="uruguay" id="fec18uru">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="argentina" id="fec18arg">
				</td>
				<td><img src="img/flag-argentina.gif" alt="Argentina" title="Argentina"  /></td>
			</tr>		
			<tr class="impar">
				<td><img src="img/flag-peru.gif" alt="Perú" title="Perú"  /></td>
				<td class="partido71">
					<input type="text" class="number" size="2" maxlength="2" name ="peru" id="fec18per">
					- 
					<input type="text" class="number" size="2" maxlength="2" name ="bolivia" id="fec18bol">
				</td>
				<td><img src="img/flag-bolivia.gif" alt="Bolivia" title="Bolivia"  /></td>
			</tr>		
			<tr class="par">
				<td><img src="img/flag-chile.gif" alt="Chile" title="Chile"  /></td>
				<td class="partido72">
					<input type="text" class="number" size="2" maxlength="2" name ="chile" id="fec18chi">
					 - 
					<input type="text" class="number" size="2" maxlength="2" name ="ecuador" id="fec18ecu">
				</td>
				<td><img src="img/flag-ecuador.gif" alt="Ecuador" title="Ecuador"  /></td>
			</tr>			
		</table>
	</li>
</ul>

<div style="clear:both">&nbsp;</div>
<div style="width:682px; text-align: center;">
	<img src="img/77x32-simular.gif" alt="Simular" title="Clic para Simular" class="btn-simular"/>&nbsp;<img src="img/77x32-resetear.gif" alt="Simular" title="Clic para Resetear" class="btn-resetear">
</div>
</div>
<div style="clear: both;">&nbsp;</div>		
		<div style="width:640px;background-color: #004162;">
			<img src="img/628x28-clasificacion.gif" alt="Clasificación" id="tbl-prod" title="Tabla de Posiciones (Actual)"/>
		</div>
		
		<div style="width:640px;margin-bottom:50px;">
			
			<div id="tableBody" style="width: 450px;float:left; margin-right: 10px;">
				<table class="tablesorter">
				<thead>
				<tr>
					<th title="Clic para ordenar">Equipo</th>
					<th title="Clic para ordenar">PJ</th>
					<th title="Clic para ordenar">GF</th>
					<th title="Clic para ordenar">GC</th>
					<th title="Clic para ordenar">DIF</th>
					<th title="Clic para ordenar">PG</th>
					<th title="Clic para ordenar">PP</th>
					<th title="Clic para ordenar">PE</th>
					<th title="Clic para ordenar">Puntaje</th>
				</tr>
				</thead>
				<tbody class="body-table">
					<tr>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
				</tbody>
				</table>
			</div>
			<div style="float:left;" class="losclasificados">
				<p class="cufoneando clasificacion" style="margin-top:8px;margin-bottom:4px;">Clasifican directo al Mundial</p>
				<table width="175px" style="margin-bottom:5px;" class="tbl-clasificados">
					<tr><td class="clasificado1" id="cla1">&nbsp;</td></tr>	
					<tr><td class="clasificado2" id="cla2">&nbsp;</td></tr>	
					<tr><td class="clasificado3" id="cla3">&nbsp;</td></tr>	
					<tr><td class="clasificado4" id="cla4">&nbsp;</td></tr>	
				</table>	
				<p class="cufoneando clasificacion">Repechaje Vs. ASIA</p>
				<table width="175px" class="tbl-clasificados">
					<tr><td class="clasificado5" id="cla5">&nbsp;</td></tr>	
				</table>
					
			</div>
			
			<!--Start Tabla despues de simular-->
			<div style="float:left;" class="losclasificados2">
				<p class="cufoneando clasificacion" style="margin-top:8px;margin-bottom:4px;">Clasifican directo al Mundial</p>
				<table width="175px" style="margin-bottom:5px;" class="tbl-clasificados">
					<tr><td class="dos-clasificado1" id="dos-cla1">&nbsp;</td></tr>	
					<tr><td class="dos-clasificado2" id="dos-cla2">&nbsp;</td></tr>	
					<tr><td class="dos-clasificado3" id="dos-cla3">&nbsp;</td></tr>	
					<tr><td class="dos-clasificado4" id="dos-cla4">&nbsp;</td></tr>	
				</table>	
				<p class="cufoneando clasificacion">Repechaje Vs. ASIA</p>
				<table width="175px" class="tbl-clasificados">
					<tr><td class="dos-clasificado5" id="dos-cla5">&nbsp;</td></tr>	
				</table>
					
			</div>
			<!--Fin Tabla despues de simular-->
			<br/>
			
		</div>
		<div style="clear:both;">&nbsp;</div>
		
</div>
	<div id="encuesta">
		     <iframe class="ifrencuesta" src="encuesta.html" scrolling="no" width="320px" height="1580px" frameborder="no" style="margin-top:23px;padding-left: 4.9px;">No soporta Iframes</iframe>
	</div>
</div>

		
</body>
	<script type="text/javascript">
	$(document).ready(function(){		
			setTimeout(function() {
					//alert(encuentros);
         			var tabla1=calcula(18);  //Se migro a una version donde no es necesario el parametro, esta sujeto a las fechas que se encuentran con datos.	
			 		$('.body-table').replaceWith(tabla1);
			  		$(".tablesorter").trigger("update");
			  		
			  		 var sortinga = [[8,1],[4,1],[2,1]]; //Ordena por puntaje, diferencia de goles, finalmente por goles en contra.
           			// sort on the eight column 
            		$(".tablesorter").trigger("sorton",[sortinga]); 
            		 
            		$(".tablesorter").data("tablesorter").widgets = ["pintaclasificatorias"];    	
            			
            		$(".tablesorter").bind("sortStart",function() 
	            	{
	            			$(this).data("tablesorter").widgets = ["borraclasificatorias"]; //Cuando ordeno por criterio quita los colores a los 5 clasificados por default Zebra	            					            				
	            	}); 
	            				
			  		$(".tablesorter").bind("sortEnd", function(){
				  			var customerId
	        				$('.tablesorter tr').each(function(index) {
								  // need this to skip the first row
								  if ($(this).find("td:first").length > 0) {
								    customerId = $(this).find("td:first").html();
								     
								     if(customerId=="Perú"){ nombreimg="Peru"; }else{ nombreimg=customerId; }							  	
								    if(index<6)
									 {
									 	$(".clasificado"+index).html("<img src='img/flag-"+nombreimg.toLowerCase()+".gif' alt="+customerId+" title='"+customerId+"'  /> ("+index+") "+customerId).slideDown("slow");
									 	$("#cla"+index).attr("class","temp"+index);
									 }
								  }
								});
	
	        				$(".losclasificados").show();
        					$(".losclasificados2").hide();
			  		});
			  		
			  		
			    }, 2000);

	});			 
	</script>
</html>